package com.gl.saasservice.repository;

import com.gl.saasservice.entity.DepartmentBill;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface DepartmentBillRepository extends PagingAndSortingRepository<DepartmentBill, Long>, JpaSpecificationExecutor<DepartmentBill> {
    DepartmentBill findByDepId(Long depId);
    List<DepartmentBill> findByDepIdIn(List<Long> depId);
}
